package cc.linker.steplink.crm.merchant.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CouponPcDao {

    List<Integer> getAllGoodsIdList(Map<String, Object> param);

    void addCouponGoodsData(List<Map<String,Object>> list);

    Map<String, Object> getCouponGoodsData(String couponId);

    void delCouponGoodsData(Map param);

    List<Map<String, Object>> getGoodsList(@Param("goodsIds") String goodsIds, @Param("sale") Integer sale,@Param("orgId") String orgId);

    List<String> getCouponIdByGoodsId(@Param("goodsId") String goodsId);

    List<String> getCouponIdByCustomerType(Map<String, Object> customerTypeParam);

    List<String> getSalerId(String orgId);
}
